<html>
<body>
<div id="preview-content">hi.</div>
</body>
<script src="ubiquity.js"></script>
<script>
Ubiquity.registerPreview(
  function(cmdName, directObj) {
    var elem = document.getElementById("preview-content");
    elem.innerHTML = "Eats the food known as " + directObj.html + ".";
  });
</script>
</html>
